<?php
$G_CONFIG['database']['dfs_master']=array( 
		'dsn'=>'mysql:host=192.168.1.103;dbname=dfs_db',
		'username'=>'caixh',
		'userpwd'=>'caixh123',
		'initsql'=>array( 
				'SET CHARACTER SET utf8',
				'SET NAMES utf8' 
		) 
);//线上配置

$G_CONFIG['database']['dfs_slave']=array( 
		'dsn'=>'mysql:host=192.168.1.103;dbname=dfs_db',
		'username'=>'readonly',
		'userpwd'=>'aN2jU3ke',
		'initsql'=>array( 
				'SET CHARACTER SET utf8',
				'SET NAMES utf8' 
		) 
);//线上配置